package com.software.loginregister.entity;
import java.util.Date;

public class FridgeIngredient {
    private Integer fridgeIngredientId;    // 冰箱食材ID
    private String fridgeIngredientName;    // 冰箱食材名称
    private String fridgeIngredientPhoto;  // 冰箱食材图片
    private Date storageDate;              // 存放日期
    private String recommendedTime;         // 官方推荐保存时间
    private String processingTime;          // 距推荐最大处理时间
    private Integer status;                 // 状态(1-正常 2-临期)
    private Date updateTime;                // 更新时间

    // Getters and Setters
    public Integer getFridgeIngredientId() {
        return fridgeIngredientId;
    }

    public void setFridgeIngredientId(Integer fridgeIngredientId) {
        this.fridgeIngredientId = fridgeIngredientId;
    }

    public String getFridgeIngredientPhoto() {
        return fridgeIngredientPhoto;
    }

    public void setFridgeIngredientPhoto(String fridgeIngredientPhoto) {
        this.fridgeIngredientPhoto = fridgeIngredientPhoto;
    }

    public Date getStorageDate() {
        return storageDate;
    }

    public void setStorageDate(Date storageDate) {
        this.storageDate = storageDate;
    }

    public String getRecommendedTime() {
        return recommendedTime;
    }

    public void setRecommendedTime(String recommendedTime) {
        this.recommendedTime = recommendedTime;
    }

    public String getProcessingTime() {
        return processingTime;
    }

    public void setProcessingTime(String processingTime) {
        this.processingTime = processingTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getFridgeIngredientName() {
        return fridgeIngredientName;
    }

    public void setFridgeIngredientName(String fridgeIngredientName) {
        this.fridgeIngredientName = fridgeIngredientName;
    }

    // toString方法

    @Override
    public String toString() {
        return "FridgeIngredient{" +
                "fridgeIngredientId=" + fridgeIngredientId +
                ", fridgeIngredientName='" + fridgeIngredientName + '\'' +
                ", fridgeIngredientPhoto='" + fridgeIngredientPhoto + '\'' +
                ", storageDate=" + storageDate +
                ", recommendedTime='" + recommendedTime + '\'' +
                ", processingTime='" + processingTime + '\'' +
                ", status=" + status +
                ", updateTime=" + updateTime +
                '}';
    }
}